﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UtilsLib.UtilsLog
{
    public static class Logger
    {
        public static void InitLoggers(string filePath, string fileName, string extension)
        {
            LogToFile.Initialise(filePath, fileName, extension);
            LogToConsole.Initialise();
        }

        public static void InitDBLogger(string DBConnection, string DBStoredProcLog, string AppId)
        {
            LogToDB.Initialise(DBConnection, DBStoredProcLog, AppId);
        }

        public static void EndLoggers()
        {
            LogToFile.CloseFile();
        }
    }
}
